OsPath build fix
authorJoey Hess <joeyh@joeyh.name>
Mon, 17 Feb 2025 18:56:56 +0000 (14:56 -0400)
committerJoey Hess <joeyh@joeyh.name>
Mon, 17 Feb 2025 18:56:56 +0000 (14:56 -0400)
Test.hs

diff --git a/Test.hs b/Test.hs
index 0032e855e03f951c624380ab1bfd110994584789..cb3a29de1302470a7f00415bba2038848ee12ecd 100644 (file)
--- a/Test.hs
+++ b/Test.hs
@@ -556,9 +556,9 @@ test_magic = intmpclonerepo $ do
                "git-annex add with mimeencoding in largefiles"
        git_annex "sync" ["--no-content"]
                "git-annex sync"
-       (isJust <$> annexeval (Annex.CatFile.catKeyFile (encodeBS "binary")))
+       (isJust <$> annexeval (Annex.CatFile.catKeyFile (literalOsPath "binary")))
                @? "binary file not added to annex despite mimeencoding config"
-       (isNothing <$> annexeval (Annex.CatFile.catKeyFile (encodeBS "text")))
+       (isNothing <$> annexeval (Annex.CatFile.catKeyFile (literalOsPath "text")))
                @? "non-binary file got added to annex despite mimeencoding config"
 #else
        return ()